home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Encyclopedia 13
/
Network Support Encyclopedia (Novell Inc.)(1991).ISO
/
download
/
vmspt3.txt
< prev
next >
Wrap
Text File
|
1992-02-12
|
2KB
|
64 lines
INSTRUCTIONS FOR PATCHING NW_SRV.EXE
NetWare for VMS Patch 3
This patch is to be used with NetWare for VMS Versions v2.1 r4.01
and v2.1 r3.01 when running VMS v5.4-3. It addresses a problem
with certain applications padding files with extra null bytes or
loosing information within the file.
This patch is necessary for compatibility with VMS 5.4-3 file
sharing. When a "file write" instruction of length zero is sent
to the file server, it causes the file to be truncated at the
current write offset. VMS 5.4-3 does not allow this when the
current file access does not allow write sharing. This is the case
when the file is opened with deny write and deny read/write. This
is fixed in VMS by shifting the SHDEL bit in the access call for
these two cases.
To implement this patch:
This patch is applied by creating NW401P3.COM in the NWVMS$COMMON
directory using a text editor. Only those lines not preceeded by
an exclamation point (!) need be entered (the (!) indicates that
the line contains comments). Once the file is entered and saved,
use the following command to implement the patch:
$ PATCH @NW401P3.COM
NW_SRV.EXE will be patched and a new version will be created.
Stop and start NetWare for VMS for the changes to become active.
To be entered into newly created file called NW401P3.COM:
NW_SRV.EXE
! See that it hasn't been applied
CHECK NOT ECO 3
! Say that it has been applied
SET ECO 3
! Define a symbol for the base location
DEFINE
FACCESS
^X0005CFC4
EXIT
! For the deny read/write case, replace SHRNIL(20)
! with SHRDEL(4)
REPLACE /INSTRUCTION
^X0005D607
'BISB3 #^X00000020,R2,B^^X00000077(R7)'
EXIT
'BISB3 #^X00000004,R2,B^^X00000077(R7)'
EXIT
! For the deny write case, add SHRDEL(4) along with
! existing SHRPUT(40)
INSERT /INSTRUCTION
^X0005D614
'BISL2 #^X00000040,R2'
'BISL2 #^X00000004,R2'
EXIT
UPDATE
EXIT